// The Vue build version to load with the `import` command
// (runtime-only or standalone) has been set in webpack.base.conf with an alias.
import 'element-ui/lib/theme-chalk/base.css';
import CollapseTransition from 'element-ui/lib/transitions/collapse-transition';
import Vue from 'vue';
import ElementUI from 'element-ui';
import 'element-ui/lib/theme-chalk/index.css';
import App from './App';
import router from './router'
import 'font-awesome/css/font-awesome.css';
import store from './store';
import './assets/iconfont/iconfont.css';
import './directive/directives.js';
import 'babel-polyfill';
import axios from 'axios';
import 'iview/dist/styles/iview.css';
import Icon from 'vue-awesome/components/Icon';
import 'vue-awesome/icons/brands/qq';
import 'vue-awesome/icons/brands/weixin';
import 'vue-awesome/icons/brands/weibo';
import iView from 'iview';
import iviewArea from 'iview-area';
import Print from 'vue-print-nb'
require('../src/mock/index');
Vue.config.productionTip = false
Vue.use(iView);
Vue.use(iviewArea);
Vue.use(Print);
Vue.component('icon', Icon);
Vue.use(ElementUI);
Vue.component(CollapseTransition.name, CollapseTransition);
Vue.config.productionTip = false;
Vue.prototype.axios = axios;

/* eslint-disable no-new */
new Vue({
  el: '#app',
  router,
  store,
  components: {
    App
  },
  template: '<App/>'
})
